Language models for scholarly texts